projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31ce1c9
)
(XTflash): Use EMACS_GET_TIME.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 26 Dec 1993 06:00:04 +0000
(06:00 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 26 Dec 1993 06:00:04 +0000
(06:00 +0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 7937e15a4429fe74f102e9e85ba3891bae0a340e..74a16180b739f2ce81ef03488cd09dc12bbf6316 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-871,7
+871,7
@@
XTflash (f)
{
struct timeval wakeup, now;
-
gettimeofday (&wakeup, (struct timezone *) 0
);
+
EMACS_GET_TIME (&wakeup
);
/* Compute time to wait until, propagating carry from usecs. */
wakeup.tv_usec += 150000;
@@
-883,7
+883,7
@@
XTflash (f)
{
struct timeval timeout;
-
gettimeofday (&timeout, (struct timezone *)0
);
+
EMACS_GET_TIME (&timeout
);
/* In effect, timeout = wakeup - timeout.
Break if result would be negative. */